CVE-2025-53836
XWiki Rendering is vulnerable to RCE attacks when processing nested macros
Description
XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Starting in version 4.2-milestone-1 and prior to versions 13.10.11, 14.4.7, and 14.10, the default macro content parser doesn't preserve the restricted attribute of the transformation context when executing nested macros. This allows executing macros that are normally forbidden in restricted mode, in particular script macros. The cache and chart macros that are bundled in XWiki use the vulnerable feature. This has been patched in XWiki 13.10.11, 14.4.7 and 14.10. To avoid the exploitation of this bug, comments can be disabled for untrusted users until an upgrade to a patched version has been performed. Note that users with edit rights will still be able to add comments via the object editor even if comments have been disabled.
INFO
Published Date :
July 15, 2025, 12:15 a.m.
Last Modified :
Aug. 26, 2025, 5:52 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | CRITICAL | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] |
Solution
- Update XWiki Rendering to version 13.10.11 or later.
- Update XWiki Rendering to version 14.4.7 or later.
- Update XWiki Rendering to version 14.10 or later.
- Disable comments for untrusted users as a workaround.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-53836
.
URL | Resource |
---|---|
https://github.com/xwiki/xwiki-rendering/commit/c73fa3ccd4ac59057e48e5d4325f659e78e8f86d | Patch |
https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9 | Third Party Advisory |
https://jira.xwiki.org/browse/XRENDERING-689 | Exploit Issue Tracking |
https://jira.xwiki.org/browse/XWIKI-20375 | Exploit Issue Tracking |
https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9 | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-53836
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-53836
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-53836
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-53836
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 26, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 14.5 up to (excluding) 14.10 *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 14.0 up to (excluding) 14.4.7 *cpe:2.3:a:xwiki:xwiki:4.2:milestone3:*:*:*:*:*:* *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 4.3 up to (excluding) 13.10.11 *cpe:2.3:a:xwiki:xwiki:4.2:milestone1:*:*:*:*:*:* *cpe:2.3:a:xwiki:xwiki:4.2:milestone2:*:*:*:*:*:* *cpe:2.3:a:xwiki:xwiki:4.2:rc1:*:*:*:*:*:* Added Reference Type GitHub, Inc.: https://github.com/xwiki/xwiki-rendering/commit/c73fa3ccd4ac59057e48e5d4325f659e78e8f86d Types: Patch Added Reference Type CISA-ADP: https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9 Types: Third Party Advisory Added Reference Type GitHub, Inc.: https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9 Types: Third Party Advisory Added Reference Type GitHub, Inc.: https://jira.xwiki.org/browse/XRENDERING-689 Types: Exploit, Issue Tracking Added Reference Type GitHub, Inc.: https://jira.xwiki.org/browse/XWIKI-20375 Types: Exploit, Issue Tracking -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 15, 2025
Action Type Old Value New Value Added Reference https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9 -
New CVE Received by [email protected]
Jul. 15, 2025
Action Type Old Value New Value Added Description XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Starting in version 4.2-milestone-1 and prior to versions 13.10.11, 14.4.7, and 14.10, the default macro content parser doesn't preserve the restricted attribute of the transformation context when executing nested macros. This allows executing macros that are normally forbidden in restricted mode, in particular script macros. The cache and chart macros that are bundled in XWiki use the vulnerable feature. This has been patched in XWiki 13.10.11, 14.4.7 and 14.10. To avoid the exploitation of this bug, comments can be disabled for untrusted users until an upgrade to a patched version has been performed. Note that users with edit rights will still be able to add comments via the object editor even if comments have been disabled. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-94 Added CWE CWE-863 Added Reference https://github.com/xwiki/xwiki-rendering/commit/c73fa3ccd4ac59057e48e5d4325f659e78e8f86d Added Reference https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-32mf-57h2-64x9 Added Reference https://jira.xwiki.org/browse/XRENDERING-689 Added Reference https://jira.xwiki.org/browse/XWIKI-20375